home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / msdos / raytrace / pov / source / machine / amiga / dos2ami < prev   
Encoding:
Text File  |  1994-01-03  |  27.8 KB  |  1,219 lines

  1. echo "dos2ami"
  2. echo "don't interrupt this command"
  3. echo ""
  4.  
  5. if exists amiga.c
  6.   echo "amiga.c"
  7.   protect amiga.c +rd
  8.   ceol <amiga.c >t.cr
  9.   if exists t.cr
  10.     delete amiga.c quiet
  11.     rename t.cr amiga.c
  12.   endif
  13. else
  14.   echo "missing file: amiga.c"
  15. endif
  16.  
  17. if exists amiga.cat
  18.   echo "amiga.cat"
  19.   protect amiga.cat +rd
  20.   ceol <amiga.cat >t.cr
  21.   if exists t.cr
  22.     delete amiga.cat quiet
  23.     rename t.cr amiga.cat
  24.   endif
  25.  
  26.   if exists icons/amigainf.cat
  27.     echo "amiga.cat.info"
  28.     if exists amiga.cat.info
  29.       protect amiga.cat.info +rd
  30.     endif
  31.     copy icons/amigainf.cat amiga.cat.info
  32.   else
  33.     echo "missing file: icons/amigainf.cat"
  34.   endif
  35.  
  36. else
  37.   echo "missing file: amiga.cat"
  38. endif
  39.  
  40. if exists amiga.doc
  41.   echo "amiga.doc"
  42.   protect amiga.doc +rd
  43.   ceol <amiga.doc >t.cr
  44.   if exists t.cr
  45.     delete amiga.doc quiet
  46.     rename t.cr amiga.doc
  47.   endif
  48.  
  49.   if exists icons/amigainf.doc
  50.     echo "amiga.doc.info"
  51.     if exists amiga.doc.info
  52.       protect amiga.doc.info +rd
  53.     endif
  54.     copy icons/amigainf.doc amiga.doc.info
  55.   else
  56.     echo "missing file: icons/amigainf.doc"
  57.   endif
  58.  
  59. else
  60.   echo "missing file: amiga.doc"
  61. endif
  62.  
  63. if exists amiga.mak
  64.   echo "amiga.mak"
  65.   protect amiga.mak +rd
  66.   if not exists makefile
  67.     ceol <amiga.mak >makefile
  68.   endif
  69.   if exists makefile
  70.     delete amiga.mak quiet
  71.   endif
  72. else
  73.   if not exists makefile
  74.     echo "missing file: amiga.mak (makefile)"
  75.   endif
  76. endif
  77.  
  78. if exists amigacon.h
  79.   echo "amigacon.h"
  80.   protect amigacon.h +rd
  81.   if not exists config.h
  82.     ceol <amigacon.h >config.h
  83.   endif
  84.   if exists config.h
  85.     delete amigacon.h quiet
  86.   endif
  87. else
  88.   if not exists config.h
  89.     echo "missing file: amigacon.h (config.h)"
  90.   endif
  91. endif
  92.  
  93.  
  94. if exists //
  95.  
  96.   if exists //povlegal.doc
  97.     echo "//povlegal.doc"
  98.     protect //povlegal.doc +rd
  99.     ceol <//povlegal.doc >t.cr
  100.     if exists t.cr
  101.       delete //povlegal.doc quiet
  102.       rename t.cr //povlegal.doc
  103.     endif
  104.  
  105.     if exists icons/povlginf.doc
  106.       echo "//povlegal.doc.info"
  107.       if exists //povlegal.doc.info
  108.         protect //povlegal.doc.info +rd
  109.       endif
  110.       copy icons/povlginf.doc //povlegal.doc.info
  111.     else
  112.       echo "missing file: icons/povlginf.doc"
  113.     endif
  114.  
  115.   else
  116.     echo "missing file: //povlegal.doc"
  117.   endif
  118.  
  119.   if exists //povinf.doc
  120.     echo "//povinf.doc"
  121.     protect //povinf.doc +rd
  122.     ceol <//povinf.doc >t.cr
  123.     if exists t.cr
  124.       delete //povinf.doc quiet
  125.       rename t.cr //povinf.doc
  126.     endif
  127.   
  128.     if exists icons/povininf.doc
  129.       echo "//povinf.doc.info"
  130.       if exists //povinf.doc.info
  131.         protect //povinf.doc.info +rd
  132.       endif
  133.       copy icons/povininf.doc //povinf.doc.info
  134.     else
  135.       echo "missing file: icons/povininf.doc"
  136.  
  137.     endif
  138.   else
  139.     echo "missing file: //povinf.doc"
  140.   endif
  141.  
  142.   if exists //whatsnew.doc
  143.     echo "//whatsnew.doc"
  144.     protect //whatsnew.doc +rd
  145.     ceol <//whatsnew.doc >t.cr
  146.     if exists t.cr
  147.       delete //whatsnew.doc quiet
  148.       rename t.cr //whatsnew.doc
  149.     endif
  150.  
  151.     if exists icons/whnewinf.doc
  152.       echo "//whatsnew.doc.info"
  153.       if exists //whatsnew.doc.info
  154.         protect //whatsnew.doc.info +rd
  155.       endif
  156.       copy icons/whnewinf.doc //whatsnew.doc.info
  157.     else
  158.       echo "missing file: icons/whnewinf.doc"
  159.     endif
  160.  
  161.   else
  162.     echo "missing file: //whatsnew.doc"
  163.   endif
  164.  
  165.   if exists //knownbug.doc
  166.     echo "//knownbug.doc"
  167.     protect //knownbug.doc +rd
  168.     ceol <//knownbug.doc >t.cr
  169.     if exists t.cr
  170.       delete //knownbug.doc quiet
  171.       rename t.cr //knownbug.doc
  172.     endif
  173.  
  174.     if exists icons/knbuginf.doc
  175.       echo "//knownbug.doc.info"
  176.       if exists //knownbug.doc.info
  177.         protect //knownbug.doc.info +rd
  178.       endif
  179.       copy icons/knbuginf.doc //knownbug.doc.info
  180.     else
  181.       echo "missing file: icons/knbuginf.doc"
  182.     endif
  183.  
  184.   else
  185.     echo "missing file: //knownbug.doc"
  186.   endif
  187.  
  188.   if exists //demo
  189.     echo "//demo.info"
  190.     if exists icons/demoinf.dir
  191.       if exists //demo.info
  192.         protect //demo.info +rd
  193.       endif
  194.       copy icons/demoinf.dir //demo.info
  195.     else
  196.       echo "missing file: icons/demoinf.dir"
  197.     endif
  198.   endif
  199.  
  200.   if exists //docs
  201.     echo "//docs.info"
  202.     if exists icons/docsinf.dir
  203.       if exists //docs.info
  204.         protect //docs.info +rd
  205.       endif
  206.       copy icons/docsinf.dir //docs.info
  207.     else
  208.       echo "missing file: icons/docsinf.dir"
  209.     endif
  210.   endif
  211.  
  212.   if exists //include
  213.     echo "//include.info"
  214.     if exists icons/incluinf.dir
  215.       if exists //include.info
  216.         protect //include.info +rd
  217.       endif
  218.       copy icons/incluinf.dir //include.info
  219.     else
  220.       echo "missing file: icons/incluinf.dir"
  221.     endif
  222.   endif
  223.  
  224.   if exists //machine
  225.     echo "//machine.info"
  226.     if exists icons/machninf.dir
  227.       if exists //machine.info
  228.         protect //machine.info +rd
  229.       endif
  230.       copy icons/machninf.dir //machine.info
  231.     else
  232.       echo "missing file: icons/machninf.dir"
  233.     endif
  234.   endif
  235.  
  236.   if exists //scenes
  237.     echo "//scenes.info"
  238.     if exists icons/sceneinf.dir
  239.       if exists //scenes.info
  240.         protect //scenes.info +rd
  241.       endif
  242.       copy icons/sceneinf.dir //scenes.info
  243.     else
  244.       echo "missing file: icons/sceneinf.dir"
  245.     endif
  246.   endif
  247.  
  248.   if exists //source
  249.     echo "//source.info"
  250.     if exists icons/sourcinf.dir
  251.       if exists //source.info
  252.         protect //source.info +rd
  253.       endif
  254.       copy icons/sourcinf.dir //source.info
  255.     else
  256.       echo "missing file: icons/sourcinf.dir"
  257.     endif
  258.   endif
  259.  
  260.   if exists //povray881
  261.     echo "//povray881.info"
  262.     if exists icons/pv881inf.exe
  263.       if exists //povray881.info
  264.         protect //povray881.info +rd
  265.       endif
  266.       copy icons/pv881inf.exe //povray881.info
  267.     else
  268.       echo "missing file: icons/pv881inf.exe"
  269.     endif
  270.   endif
  271.  
  272.   if exists //povrayieee
  273.     echo "//povrayieee.info"
  274.     if exists icons/pvieeinf.exe
  275.       if exists //povrayieee.info
  276.         protect //povrayieee.info +rd
  277.       endif
  278.       copy icons/pvieeinf.exe //povrayieee.info
  279.     else
  280.       echo "missing file: icons/pvieeinf.exe"
  281.     endif
  282.   endif
  283.  
  284.   if exists //dump2i24
  285.     echo "//dump2i24.info"
  286.     if exists icons/dmi24inf.exe
  287.       if exists //dump2i24.info
  288.         protect //dump2i24.info +rd
  289.       endif
  290.       copy icons/dmi24inf.exe //dump2i24.info
  291.     else
  292.       echo "missing file: icons/dmi24inf.exe"
  293.     endif
  294.   endif
  295.  
  296.   if exists //dump2iff
  297.     echo "//dump2iff.info"
  298.     if exists icons/dmiffinf.exe
  299.       if exists //dump2iff.info
  300.         protect //dump2iff.info +rd
  301.       endif
  302.       copy icons/dmiffinf.exe //dump2iff.info
  303.     else
  304.       echo "missing file: icons/dmiffinf.exe"
  305.     endif
  306.   endif
  307.  
  308.   if exists //tga2dump
  309.     echo "//tga2dump.info"
  310.     if exists icons/tgadminf.exe
  311.       if exists //tga2dump.info
  312.         protect //tga2dump.info +rd
  313.       endif
  314.       copy icons/tgadminf.exe //tga2dump.info
  315.     else
  316.       echo "missing file: icons/tgadminf.exe"
  317.     endif
  318.   endif
  319.  
  320.   if exists //tga2gif
  321.     echo "//tga2gif.info"
  322.     if exists icons/tgagfinf.exe
  323.       if exists //tga2gif.info
  324.         protect //tga2gif.info +rd
  325.       endif
  326.       copy icons/tgagfinf.exe //tga2gif.info
  327.     else
  328.       echo "missing file: icons/tgagfinf.exe"
  329.     endif
  330.   endif
  331.  
  332. endif
  333.  
  334.  
  335. if exists //demo
  336.  
  337.   if exists //demo/demo.cat
  338.     echo "//demo/demo.cat"
  339.     protect //demo/demo.cat +rd
  340.     ceol <//demo/demo.cat >t.cr
  341.     if exists t.cr
  342.       delete //demo/demo.cat quiet
  343.       rename t.cr //demo/demo.cat
  344.     endif
  345.  
  346.     if exists icons/demoinf.cat
  347.       echo "//demo/demo.cat.info"
  348.       if exists //demo/demo.cat.info
  349.         protect //demo/demo.cat.info +rd
  350.       endif
  351.       copy icons/demoinf.cat //demo/demo.cat.info
  352.     else
  353.       echo "missing file: icons/demoinf.cat"
  354.     endif
  355.  
  356.   else
  357.     echo "missing file: //demo/demo.cat"
  358.   endif
  359.  
  360. endif
  361.  
  362.  
  363. if exists //docs
  364.  
  365.   if exists //docs/docs.cat
  366.     echo "//docs/docs.cat"
  367.     protect //docs/docs.cat +rd
  368.     ceol <//docs/docs.cat >t.cr
  369.     if exists t.cr
  370.       delete //docs/docs.cat quiet
  371.       rename t.cr //docs/docs.cat
  372.     endif
  373.  
  374.     if exists icons/docsinf.cat
  375.       echo "//docs/docs.cat.info"
  376.       if exists //docs/docs.cat.info
  377.         protect //docs/docs.cat.info +rd
  378.       endif
  379.       copy icons/docsinf.cat //docs/docs.cat.info
  380.     else
  381.       echo "missing file: icons/docsinf.cat"
  382.     endif
  383.  
  384.   else
  385.     echo "missing file: //docs/docs.cat"
  386.   endif
  387.  
  388.   if exists //docs/povray.doc
  389.     echo "//docs/povray.doc"
  390.     protect //docs/povray.doc +rd
  391.     ceol <//docs/povray.doc >t.cr
  392.     if exists t.cr
  393.       delete //docs/povray.doc quiet
  394.       rename t.cr //docs/povray.doc
  395.     endif
  396.  
  397.     if exists icons/docpvinf.doc
  398.       echo "//docs/povray.doc.info"
  399.       if exists //docs/povray.doc.info
  400.         protect //docs/povray.doc.info +rd
  401.       endif
  402.       copy icons/docpvinf.doc //docs/povray.doc.info
  403.     else
  404.       echo "missing file: icons/docpvinf.doc"
  405.     endif
  406.  
  407.   else
  408.     echo "missing file: //docs/povray.doc"
  409.   endif
  410.  
  411.   if exists //docs/textures.doc
  412.     echo "//docs/textures.doc"
  413.     protect //docs/textures.doc +rd
  414.     ceol <//docs/textures.doc >t.cr
  415.     if exists t.cr
  416.       delete //docs/textures.doc quiet
  417.       rename t.cr //docs/textures.doc
  418.     endif
  419.  
  420.     if exists icons/doctxinf.doc
  421.       echo "//docs/textures.doc.info"
  422.       if exists //docs/textures.doc.info
  423.         protect //docs/textures.doc.info +rd
  424.       endif
  425.       copy icons/doctxinf.doc //docs/textures.doc.info
  426.     else
  427.       echo "missing file: icons/doctxinf.doc"
  428.     endif
  429.  
  430.   else
  431.     echo "missing file: //docs/textures.doc"
  432.   endif
  433.  
  434. endif
  435.  
  436.  
  437. if exists //include
  438.  
  439.   if exists //include/include.cat
  440.     echo "//include/include.cat"
  441.     protect //include/include.cat +rd
  442.     ceol <//include/include.cat >t.cr
  443.     if exists t.cr
  444.       delete //include/include.cat quiet
  445.       rename t.cr //include/include.cat
  446.     endif
  447.  
  448.     if exists icons/incluinf.cat
  449.       echo "//include/include.cat.info"
  450.       if exists //include/include.cat.info
  451.         protect //include/include.cat.info +rd
  452.       endif
  453.       copy icons/incluinf.cat //include/include.cat.info
  454.     else
  455.       echo "missing file: icons/incluinf.cat"
  456.     endif
  457.  
  458.   else
  459.     echo "missing file: //include/include.cat"
  460.   endif
  461.  
  462. endif
  463.  
  464.  
  465. if exists //machine
  466.  
  467.   if exists //machine/machine.cat
  468.     echo "//machine/machine.cat"
  469.     protect //machine/machine.cat +rd
  470.     ceol <//machine/machine.cat >t.cr
  471.     if exists t.cr
  472.       delete //machine/machine.cat quiet
  473.       rename t.cr //machine/machine.cat
  474.     endif
  475.  
  476.     if exists icons/machninf.cat
  477.       echo "//machine/machine.cat.info"
  478.       if exists //machine/machine.cat.info
  479.         protect //machine/machine.cat.info +rd
  480.       endif
  481.       copy icons/machninf.cat //machine/machine.cat.info
  482.     else
  483.       echo "missing file: icons/machninf.cat"
  484.     endif
  485.  
  486.   else
  487.     echo "missing file: //machine/machine.cat"
  488.   endif
  489.  
  490.   if exists //machine/acorn
  491.     echo "//machine/acorn.info"
  492.     if exists icons/macacinf.dir
  493.       if exists //machine/acorn.info
  494.         protect //machine/acorn.info +rd
  495.       endif
  496.       copy icons/macacinf.dir //machine/acorn.info
  497.     else
  498.       echo "missing file: icons/macacinf.dir"
  499.     endif
  500.   endif
  501.  
  502.   if exists //machine/amiga
  503.     echo "//machine/amiga.info"
  504.     if exists icons/macaminf.dir
  505.       if exists //machine/amiga.info
  506.         protect //machine/amiga.info +rd
  507.       endif
  508.       copy icons/macaminf.dir //machine/amiga.info
  509.     else
  510.       echo "missing file: icons/macaminf.dir"
  511.     endif
  512.   endif
  513.  
  514.   if exists //machine/ibmpc
  515.     echo "//machine/ibmpc.info"
  516.     if exists icons/macpcinf.dir
  517.       if exists //machine/ibmpc.info
  518.         protect //machine/ibmpc.info +rd
  519.       endif
  520.       copy icons/macpcinf.dir //machine/ibmpc.info
  521.     else
  522.       echo "missing file: icons/macpcinf.dir"
  523.     endif
  524.   endif
  525.  
  526.   if exists //machine/mac
  527.     echo "//machine/mac.info"
  528.     if exists icons/macmainf.dir
  529.       if exists //machine/mac.info
  530.         protect //machine/mac.info +rd
  531.       endif
  532.       copy icons/macmainf.dir //machine/mac.info
  533.     else
  534.       echo "missing file: icons/macmainf.dir"
  535.     endif
  536.   endif
  537.  
  538.   if exists //machine/unix
  539.     echo "//machine/unix.info"
  540.     if exists icons/macuxinf.dir
  541.       if exists //machine/unix.info
  542.         protect //machine/unix.info +rd
  543.       endif
  544.       copy icons/macuxinf.dir //machine/unix.info
  545.     else
  546.       echo "missing file: icons/macuxinf.dir"
  547.     endif
  548.   endif
  549.  
  550.   if exists //machine/vax
  551.     echo "//machine/vax.info"
  552.     if exists icons/macvxinf.dir
  553.       if exists //machine/vax.info
  554.         protect //machine/vax.info +rd
  555.       endif
  556.       copy icons/macvxinf.dir //machine/vax.info
  557.     else
  558.       echo "missing file: icons/macvxinf.dir"
  559.     endif
  560.   endif
  561.  
  562. endif
  563.  
  564.  
  565. if exists //scenes
  566.  
  567.   if exists //scenes/scenes.cat
  568.     echo "//scenes/scenes.cat"
  569.     protect //scenes/scenes.cat +rd
  570.     ceol <//scenes/scenes.cat >t.cr
  571.     if exists t.cr
  572.       delete //scenes/scenes.cat quiet
  573.       rename t.cr //scenes/scenes.cat
  574.     endif
  575.  
  576.     if exists icons/sceneinf.cat
  577.       echo "//scenes/scenes.cat.info"
  578.       if exists //scenes/scenes.cat.info
  579.         protect //scenes/scenes.cat.info +rd
  580.       endif
  581.       copy icons/sceneinf.cat //scenes/scenes.cat.info
  582.     else
  583.       echo "missing file: icons/sceneinf.cat"
  584.     endif
  585.  
  586.   else
  587.     echo "missing file: //scenes/scenes.cat"
  588.   endif
  589.  
  590.   if exists //scenes/level1
  591.     echo "//scenes/level1.info"
  592.     if exists icons/scnl1inf.dir
  593.       if exists //scenes/level1.info
  594.         protect //scenes/level1.info +rd
  595.       endif
  596.       copy icons/scnl1inf.dir //scenes/level1.info
  597.     else
  598.       echo "missing file: icons/scnl1inf.dir"
  599.     endif
  600.   endif
  601.  
  602.   if exists //scenes/level2
  603.     echo "//scenes/level2.info"
  604.     if exists icons/scnl2inf.dir
  605.       if exists //scenes/level2.info
  606.         protect //scenes/level2.info +rd
  607.       endif
  608.       copy icons/scnl2inf.dir //scenes/level2.info
  609.     else
  610.       echo "missing file: icons/scnl2inf.dir"
  611.     endif
  612.   endif
  613.  
  614.   if exists //scenes/level3
  615.     echo "//scenes/level3.info"
  616.     if exists icons/scnl3inf.dir
  617.       if exists //scenes/level3.info
  618.         protect //scenes/level3.info +rd
  619.       endif
  620.       copy icons/scnl3inf.dir //scenes/level3.info
  621.     else
  622.       echo "missing file: icons/scnl3inf.dir"
  623.     endif
  624.   endif
  625.  
  626.   if exists //scenes/math
  627.     echo "//scenes/math.info"
  628.     if exists icons/scnmainf.dir
  629.       if exists //scenes/math.info
  630.         protect //scenes/math.info +rd
  631.       endif
  632.       copy icons/scnmainf.dir //scenes/math.info
  633.     else
  634.       echo "missing file: icons/scnmainf.dir"
  635.     endif
  636.   endif
  637.  
  638.   if exists //scenes/level1/level1.cat
  639.     echo "//scenes/level1/level1.cat.info"
  640.     if exists icons/scnl1inf.cat
  641.       if exists //scenes/level1/level1.cat.info
  642.         protect //scenes/level1/level1.cat.info +rd
  643.       endif
  644.       copy icons/scnl1inf.cat //scenes/level1/level1.cat.info
  645.     else
  646.       echo "missing file: icons/scnl1inf.cat"
  647.     endif
  648.   endif
  649.  
  650.   if exists //scenes/level2/level2.cat
  651.     echo "//scenes/level2/level2.cat.info"
  652.     if exists icons/scnl2inf.cat
  653.       if exists //scenes/level2/level2.cat.info
  654.         protect //scenes/level2/level2.cat.info +rd
  655.       endif
  656.       copy icons/scnl2inf.cat //scenes/level2/level2.cat.info
  657.     else
  658.       echo "missing file: icons/scnl2inf.cat"
  659.     endif
  660.   endif
  661.  
  662.   if exists //scenes/level3/level3.cat
  663.     echo "//scenes/level3/level3.cat.info"
  664.     if exists icons/scnl3inf.cat
  665.       if exists //scenes/level3/level3.cat.info
  666.         protect //scenes/level3/level3.cat.info +rd
  667.       endif
  668.       copy icons/scnl3inf.cat //scenes/level3/level3.cat.info
  669.     else
  670.       echo "missing file: icons/scnl3inf.cat"
  671.     endif
  672.   endif
  673.  
  674.   if exists //scenes/math/math.cat
  675.     echo "//scenes/math/math.cat.info"
  676.     if exists icons/scnmainf.cat
  677.       if exists //scenes/math/math.cat.info
  678.         protect //scenes/math/math.cat.info +rd
  679.       endif
  680.       copy icons/scnmainf.cat //scenes/math/math.cat.info
  681.     else
  682.       echo "missing file: icons/scnmainf.cat"
  683.     endif
  684.   endif
  685.  
  686. endif
  687.  
  688.  
  689. if exists //source
  690.  
  691.   if exists //source/source.cat
  692.     echo "//source/source.cat"
  693.     protect //source/source.cat +rd
  694.     ceol <//source/source.cat >t.cr
  695.     if exists t.cr
  696.       delete //source/source.cat quiet
  697.       rename t.cr //source/source.cat
  698.     endif
  699.  
  700.     if exists icons/sourcinf.cat
  701.       echo "//source/source.cat.info"
  702.       if exists //source/source.cat.info
  703.         protect //source/source.cat.info +rd
  704.       endif
  705.       copy icons/sourcinf.cat //source/source.cat.info
  706.     else
  707.       echo "missing file: icons/sourcinf.cat"
  708.     endif
  709.  
  710.   else
  711.     echo "missing file: //source/source.cat"
  712.   endif
  713.  
  714.   if exists //source/bezier.c
  715.     echo "//source/bezier.c"
  716.     protect //source/bezier.c +rd
  717.     ceol <//source/bezier.c >t.cr
  718.     if exists t.cr
  719.       delete //source/bezier.c quiet
  720.       rename t.cr //source/bezier.c
  721.     endif
  722.   else
  723.     echo "missing file: //source/bezier.c"
  724.   endif
  725.  
  726.   if exists //source/blob.c
  727.     echo "//source/blob.c"
  728.     protect //source/blob.c +rd
  729.     ceol <//source/blob.c >t.cr
  730.     if exists t.cr
  731.       delete //source/blob.c quiet
  732.       rename t.cr //source/blob.c
  733.     endif
  734.   else
  735.     echo "missing file: //source/blob.c"
  736.   endif
  737.  
  738.   if exists //source/bound.c
  739.     echo "//source/bound.c"
  740.     protect //source/bound.c +rd
  741.     ceol <//source/bound.c >t.cr
  742.     if exists t.cr
  743.       delete //source/bound.c quiet
  744.       rename t.cr //source/bound.c
  745.     endif
  746.   else
  747.     echo "missing file: //source/bound.c"
  748.   endif
  749.  
  750.   if exists //source/boxes.c
  751.     echo "//source/boxes.c"
  752.     protect //source/boxes.c +rd
  753.     ceol <//source/boxes.c >t.cr
  754.     if exists t.cr
  755.       delete //source/boxes.c quiet
  756.       rename t.cr //source/boxes.c
  757.     endif
  758.   else
  759.     echo "missing file: //source/boxes.c"
  760.   endif
  761.  
  762.   if exists //source/camera.c
  763.     echo "//source/camera.c"
  764.     protect //source/camera.c +rd
  765.     ceol <//source/camera.c >t.cr
  766.     if exists t.cr
  767.       delete //source/camera.c quiet
  768.       rename t.cr //source/camera.c
  769.     endif
  770.   else
  771.     echo "missing file: //source/camera.c"
  772.   endif
  773.  
  774.   if exists //source/colour.c
  775.     echo "//source/colour.c"
  776.     protect //source/colour.c +rd
  777.     ceol <//source/colour.c >t.cr
  778.     if exists t.cr
  779.       delete //source/colour.c quiet
  780.       rename t.cr //source/colour.c
  781.     endif
  782.   else
  783.     echo "missing file: //source/colour.c"
  784.   endif
  785.  
  786.   if exists //source/cones.c
  787.     echo "//source/cones.c"
  788.     protect //source/cones.c +rd
  789.     ceol <//source/cones.c >t.cr
  790.     if exists t.cr
  791.       delete //source/cones.c quiet
  792.       rename t.cr //source/cones.c
  793.     endif
  794.   else
  795.     echo "missing file: //source/cones.c"
  796.   endif
  797.  
  798.   if exists //source/csg.c
  799.     echo "//source/csg.c"
  800.     protect //source/csg.c +rd
  801.     ceol <//source/csg.c >t.cr
  802.     if exists t.cr
  803.       delete //source/csg.c quiet
  804.       rename t.cr //source/csg.c
  805.     endif
  806.   else
  807.     echo "missing file: //source/csg.c"
  808.   endif
  809.  
  810.   if exists //source/discs.c
  811.     echo "//source/discs.c"
  812.     protect //source/discs.c +rd
  813.     ceol <//source/discs.c >t.cr
  814.     if exists t.cr
  815.       delete //source/discs.c quiet
  816.       rename t.cr //source/discs.c
  817.     endif
  818.   else
  819.     echo "missing file: //source/discs.c"
  820.   endif
  821.  
  822.   if exists //source/dump.c
  823.     echo "//source/dump.c"
  824.     protect //source/dump.c +rd
  825.     ceol <//source/dump.c >t.cr
  826.     if exists t.cr
  827.       delete //source/dump.c quiet
  828.       rename t.cr //source/dump.c
  829.     endif
  830.   else
  831.     echo "missing file: //source/dump.c"
  832.   endif
  833.  
  834.   if exists //source/express.c
  835.     echo "//source/express.c"
  836.     protect //source/express.c +rd
  837.     ceol <//source/express.c >t.cr
  838.     if exists t.cr
  839.       delete //source/express.c quiet
  840.       rename t.cr //source/express.c
  841.     endif
  842.   else
  843.     echo "missing file: //source/express.c"
  844.   endif
  845.  
  846.   if exists //source/frame.h
  847.     echo "//source/frame.h"
  848.     protect //source/frame.h +rd
  849.     ceol <//source/frame.h >t.cr
  850.     if exists t.cr
  851.       delete //source/frame.h quiet
  852.       rename t.cr //source/frame.h
  853.     endif
  854.   else
  855.     echo "missing file: //source/frame.h"
  856.   endif
  857.  
  858.   if exists //source/gif.c
  859.     echo "//source/gif.c"
  860.     protect //source/gif.c +rd
  861.     ceol <//source/gif.c >t.cr
  862.     if exists t.cr
  863.       delete //source/gif.c quiet
  864.       rename t.cr //source/gif.c
  865.     endif
  866.   else
  867.     echo "missing file: //source/gif.c"
  868.   endif
  869.  
  870.   if exists //source/gifdecod.c
  871.     echo "//source/gifdecod.c"
  872.     protect //source/gifdecod.c +rd
  873.     ceol <//source/gifdecod.c >t.cr
  874.     if exists t.cr
  875.       delete //source/gifdecod.c quiet
  876.       rename t.cr //source/gifdecod.c
  877.     endif
  878.   else
  879.     echo "missing file: //source/gifdecod.c"
  880.   endif
  881.  
  882.   if exists //source/hfield.c
  883.     echo "//source/hfield.c"
  884.     protect //source/hfield.c +rd
  885.     ceol <//source/hfield.c >t.cr
  886.     if exists t.cr
  887.       delete //source/hfield.c quiet
  888.       rename t.cr //source/hfield.c
  889.     endif
  890.   else
  891.     echo "missing file: //source/hfield.c"
  892.   endif
  893.  
  894.   if exists //source/iff.c
  895.     echo "//source/iff.c"
  896.     protect //source/iff.c +rd
  897.     ceol <//source/iff.c >t.cr
  898.     if exists t.cr
  899.       delete //source/iff.c quiet
  900.       rename t.cr //source/iff.c
  901.     endif
  902.   else
  903.     echo "missing file: //source/iff.c"
  904.   endif
  905.  
  906.   if exists //source/image.c
  907.     echo "//source/image.c"
  908.     protect //source/image.c +rd
  909.     ceol <//source/image.c >t.cr
  910.     if exists t.cr
  911.       delete //source/image.c quiet
  912.       rename t.cr //source/image.c
  913.     endif
  914.   else
  915.     echo "missing file: //source/image.c"
  916.   endif
  917.  
  918.   if exists //source/lighting.c
  919.     echo "//source/lighting.c"
  920.     protect //source/lighting.c +rd
  921.     ceol <//source/lighting.c >t.cr
  922.     if exists t.cr
  923.       delete //source/lighting.c quiet
  924.       rename t.cr //source/lighting.c
  925.     endif
  926.   else
  927.     echo "missing file: //source/lighting.c"
  928.   endif
  929.  
  930.   if exists //source/matrices.c
  931.     echo "//source/matrices.c"
  932.     protect //source/matrices.c +rd
  933.     ceol <//source/matrices.c >t.cr
  934.     if exists t.cr
  935.       delete //source/matrices.c quiet
  936.       rename t.cr //source/matrices.c
  937.     endif
  938.   else
  939.     echo "missing file: //source/matrices.c"
  940.   endif
  941.  
  942.   if exists //source/normal.c
  943.     echo "//source/normal.c"
  944.     protect //source/normal.c +rd
  945.     ceol <//source/normal.c >t.cr
  946.     if exists t.cr
  947.       delete //source/normal.c quiet
  948.       rename t.cr //source/normal.c
  949.     endif
  950.   else
  951.     echo "missing file: //source/normal.c"
  952.   endif
  953.  
  954.   if exists //source/objects.c
  955.     echo "//source/objects.c"
  956.     protect //source/objects.c +rd
  957.     ceol <//source/objects.c >t.cr
  958.     if exists t.cr
  959.       delete //source/objects.c quiet
  960.       rename t.cr //source/objects.c
  961.     endif
  962.   else
  963.     echo "missing file: //source/objects.c"
  964.   endif
  965.  
  966.   if exists //source/parse.c
  967.     echo "//source/parse.c"
  968.     protect //source/parse.c +rd
  969.     ceol <//source/parse.c >t.cr
  970.     if exists t.cr
  971.       delete //source/parse.c quiet
  972.       rename t.cr //source/parse.c
  973.     endif
  974.   else
  975.     echo "missing file: //source/parse.c"
  976.   endif
  977.  
  978.   if exists //source/parse.h
  979.     echo "//source/parse.h"
  980.     protect //source/parse.h +rd
  981.     ceol <//source/parse.h >t.cr
  982.     if exists t.cr
  983.       delete //source/parse.h quiet
  984.       rename t.cr //source/parse.h
  985.     endif
  986.   else
  987.     echo "missing file: //source/parse.h"
  988.   endif
  989.  
  990.   if exists //source/pigment.c
  991.     echo "//source/pigment.c"
  992.     protect //source/pigment.c +rd
  993.     ceol <//source/pigment.c >t.cr
  994.     if exists t.cr
  995.       delete //source/pigment.c quiet
  996.       rename t.cr //source/pigment.c
  997.     endif
  998.   else
  999.     echo "missing file: //source/pigment.c"
  1000.   endif
  1001.  
  1002.   if exists //source/planes.c
  1003.     echo "//source/planes.c"
  1004.     protect //source/planes.c +rd
  1005.     ceol <//source/planes.c >t.cr
  1006.     if exists t.cr
  1007.       delete //source/planes.c quiet
  1008.       rename t.cr //source/planes.c
  1009.     endif
  1010.   else
  1011.     echo "missing file: //source/planes.c"
  1012.   endif
  1013.  
  1014.   if exists //source/point.c
  1015.     echo "//source/point.c"
  1016.     protect //source/point.c +rd
  1017.     ceol <//source/point.c >t.cr
  1018.     if exists t.cr
  1019.       delete //source/point.c quiet
  1020.       rename t.cr //source/point.c
  1021.     endif
  1022.   else
  1023.     echo "missing file: //source/point.c"
  1024.   endif
  1025.  
  1026.   if exists //source/poly.c
  1027.     echo "//source/poly.c"
  1028.     protect //source/poly.c +rd
  1029.     ceol <//source/poly.c >t.cr
  1030.     if exists t.cr
  1031.       delete //source/poly.c quiet
  1032.       rename t.cr //source/poly.c
  1033.     endif
  1034.   else
  1035.     echo "missing file: //source/poly.c"
  1036.   endif
  1037.  
  1038.   if exists //source/povproto.h
  1039.     echo "//source/povproto.h"
  1040.     protect //source/povproto.h +rd
  1041.     ceol <//source/povproto.h >t.cr
  1042.     if exists t.cr
  1043.       delete //source/povproto.h quiet
  1044.       rename t.cr //source/povproto.h
  1045.     endif
  1046.   else
  1047.     echo "missing file: //source/povproto.h"
  1048.   endif
  1049.  
  1050.   if exists //source/povray.c
  1051.     echo "//source/povray.c"
  1052.     protect //source/povray.c +rd
  1053.     ceol <//source/povray.c >t.cr
  1054.     if exists t.cr
  1055.       delete //source/povray.c quiet
  1056.       rename t.cr //source/povray.c
  1057.     endif
  1058.   else
  1059.     echo "missing file: //source/povray.c"
  1060.   endif
  1061.  
  1062.   if exists //source/quadrics.c
  1063.     echo "//source/quadrics.c"
  1064.     protect //source/quadrics.c +rd
  1065.     ceol <//source/quadrics.c >t.cr
  1066.     if exists t.cr
  1067.       delete //source/quadrics.c quiet
  1068.       rename t.cr //source/quadrics.c
  1069.     endif
  1070.   else
  1071.     echo "missing file: //source/quadrics.c"
  1072.   endif
  1073.  
  1074.   if exists //source/raw.c
  1075.     echo "//source/raw.c"
  1076.     protect //source/raw.c +rd
  1077.     ceol <//source/raw.c >t.cr
  1078.     if exists t.cr
  1079.       delete //source/raw.c quiet
  1080.       rename t.cr //source/raw.c
  1081.     endif
  1082.   else
  1083.     echo "missing file: //source/raw.c"
  1084.   endif
  1085.  
  1086.   if exists //source/ray.c
  1087.     echo "//source/ray.c"
  1088.     protect //source/ray.c +rd
  1089.     ceol <//source/ray.c >t.cr
  1090.     if exists t.cr
  1091.       delete //source/ray.c quiet
  1092.       rename t.cr //source/ray.c
  1093.     endif
  1094.   else
  1095.     echo "missing file: //source/ray.c"
  1096.   endif
  1097.  
  1098.   if exists //source/render.c
  1099.     echo "//source/render.c"
  1100.     protect //source/render.c +rd
  1101.     ceol <//source/render.c >t.cr
  1102.     if exists t.cr
  1103.       delete //source/render.c quiet
  1104.       rename t.cr //source/render.c
  1105.     endif
  1106.   else
  1107.     echo "missing file: //source/render.c"
  1108.   endif
  1109.  
  1110.   if exists //source/spheres.c
  1111.     echo "//source/spheres.c"
  1112.     protect //source/spheres.c +rd
  1113.     ceol <//source/spheres.c >t.cr
  1114.     if exists t.cr
  1115.       delete //source/spheres.c quiet
  1116.       rename t.cr //source/spheres.c
  1117.     endif
  1118.   else
  1119.     echo "missing file: //source/spheres.c"
  1120.   endif
  1121.  
  1122.   if exists //source/targa.c
  1123.     echo "//source/targa.c"
  1124.     protect //source/targa.c +rd
  1125.     ceol <//source/targa.c >t.cr
  1126.     if exists t.cr
  1127.       delete //source/targa.c quiet
  1128.       rename t.cr //source/targa.c
  1129.     endif
  1130.   else
  1131.     echo "missing file: //source/targa.c"
  1132.   endif
  1133.  
  1134.   if exists //source/texture.c
  1135.     echo "//source/texture.c"
  1136.     protect //source/texture.c +rd
  1137.     ceol <//source/texture.c >t.cr
  1138.     if exists t.cr
  1139.       delete //source/texture.c quiet
  1140.       rename t.cr //source/texture.c
  1141.     endif
  1142.   else
  1143.     echo "missing file: //source/texture.c"
  1144.   endif
  1145.  
  1146.   if exists //source/texture.h
  1147.     echo "//source/texture.h"
  1148.     protect //source/texture.h +rd
  1149.     ceol <//source/texture.h >t.cr
  1150.     if exists t.cr
  1151.       delete //source/texture.h quiet
  1152.       rename t.cr //source/texture.h
  1153.     endif
  1154.   else
  1155.     echo "missing file: //source/texture.h"
  1156.   endif
  1157.  
  1158.   if exists //source/tokenize.c
  1159.     echo "//source/tokenize.c"
  1160.     protect //source/tokenize.c +rd
  1161.     ceol <//source/tokenize.c >t.cr
  1162.     if exists t.cr
  1163.       delete //source/tokenize.c quiet
  1164.       rename t.cr //source/tokenize.c
  1165.     endif
  1166.   else
  1167.     echo "missing file: //source/tokenize.c"
  1168.   endif
  1169.  
  1170.   if exists //source/triangle.c
  1171.     echo "//source/triangle.c"
  1172.     protect //source/triangle.c +rd
  1173.     ceol <//source/triangle.c >t.cr
  1174.     if exists t.cr
  1175.       delete //source/triangle.c quiet
  1176.       rename t.cr //source/triangle.c
  1177.     endif
  1178.   else
  1179.     echo "missing file: //source/triangle.c"
  1180.   endif
  1181.  
  1182.   if exists //source/txttest.c
  1183.     echo "//source/txttest.c"
  1184.     protect //source/txttest.c +rd
  1185.     ceol <//source/txttest.c >t.cr
  1186.     if exists t.cr
  1187.       delete //source/txttest.c quiet
  1188.       rename t.cr //source/txttest.c
  1189.     endif
  1190.   else
  1191.     echo "missing file: //source/txttest.c"
  1192.   endif
  1193.  
  1194.   if exists //source/vect.c
  1195.     echo "//source/vect.c"
  1196.     protect //source/vect.c +rd
  1197.     ceol <//source/vect.c >t.cr
  1198.     if exists t.cr
  1199.       delete //source/vect.c quiet
  1200.       rename t.cr //source/vect.c
  1201.     endif
  1202.   else
  1203.     echo "missing file: //source/vect.c"
  1204.   endif
  1205.  
  1206.   if exists //source/vector.h
  1207.     echo "//source/vector.h"
  1208.     protect //source/vector.h +rd
  1209.     ceol <//source/vector.h >t.cr
  1210.     if exists t.cr
  1211.       delete //source/vector.h quiet
  1212.       rename t.cr //source/vector.h
  1213.     endif
  1214.   else
  1215.     echo "missing file: //source/vector.h"
  1216.   endif
  1217.  
  1218. endif
  1219.